@import '~/common/style/index.scss';
@import './panel.scss';
$thread-prefix-cls: #{$cui-prefix}-thread;

.#{$thread-prefix-cls} {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    &-original {
        padding: 0 24px;
        .#{$cui-prefix}-message-base{
            padding: 8px 0;
        }
        &-start {
            font-size: 14px;
            font-style: normal;
            color: $gray-3;
            line-height: 20px;
            height: 20px;
            display: flex;
            white-space: nowrap;
            gap: 4px;

            &>span {
                color: $gray-1;
                font-weight: 500;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
        }

        &-line {
            width: 100%;
            display: inline-block;
            border-bottom: 1px solid $gray-9;
        }

    }

    &-create {
        display: flex;
        flex-direction: column;
        padding: 4px 16px;
        gap: 8px;
        .#{$cui-prefix}-message-base{
            padding: 8px;
        }
        &-title {
            font-size: 12px;
            line-height: 16px;
            color: $gray-6;
        }

        &-content {
            margin-bottom: 24px;
            & input{
                background: $gray-95;
            }
        }
    }

    &-members-box {
        width: 100%;
        max-height: 716px;
        min-height: 416px;
        box-sizing: border-box;
        position: absolute;
        top: 0;
        height: calc(100% - 164px);
    }

    &-members-item {
        display: flex;
        // width: 336px;
        height: 64px;
        gap: 12px;
        align-items: center;
        justify-content: space-between;
        padding: 0 12px 0 24px;
        &-name {
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 500;
        }

    }
    

    &-dark {
        background-color: $gray-1;

        .#{$thread-prefix-cls}-create {
            &-content input {
                background-color: $gray-2;
                border: none;
                color: $gray-98
            }
        }

        .#{$thread-prefix-cls}-original{
            &-start{
                color: $gray-6;
                &>span{
                    color: $gray-98;
                }
            }
        }
    }
}